﻿public class GroundAtkHFSM : PlayerBaseHFSM {
	public GroundAtkHFSM(PlayerController controller, PlayerStateEnum stateName, State<PlayerStateEnum> superFSM, StateFactory<PlayerStateEnum> factory) : base(controller, stateName, superFSM, factory) {
		AddConditionToSelf(() => _controller.IsOnGround && AtkInput);

		AddNewTransition(PlayerStateEnum.GroundHFSM, () => _controller.IsAnimPlayOver());
	}


	bool AtkInput => _controller.HandWeaponInput || _controller.TickInput || _controller.BowInput;
}